package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching//spring的缓存框架
@EnableFeignClients(value = "org.example.ymcc.feignclient")
public class CourseServer {
    public static void main(String[] args) {
        SpringApplication.run(CourseServer.class);
    }
}